package com.matt.domain.courseV2;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 学习记录对象
 */
@Table(name = "tc_vendor_course_record")
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
public class VendorCourseRecord extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;


    @Column(columnDefinition = "varchar(32)   COMMENT '园区ID' ")
    private String areaId;

    @Column(columnDefinition = "varchar(32)   COMMENT '课程ID' ")
    private String vendorCourseId;

    @Column(columnDefinition = "varchar(32)   COMMENT '添加人ID' ")
    private String staffId;

    @Column(columnDefinition = "varchar(32)   COMMENT '添加人名称' ")
    private String staffName;

    @Column(columnDefinition = "varchar(32)   COMMENT '添加人头像' ")
    private String staffImg;

    @Column(columnDefinition = "text   COMMENT '附件列表' ")
    private String attachments;

    @Column(columnDefinition = "int(3)  DEFAULT 0  COMMENT '里程碑状态：0未达标，1达标' ")
    private Integer milepostState;

    @Column(columnDefinition = "int(3)  DEFAULT 0  COMMENT '成长故事状态：0未达标，1达标' ")
    private Integer growingState;

    @Column(columnDefinition = "int(3)  DEFAULT 0  COMMENT '能力指标状态：0未达标，1达标' ")
    private Integer abilityState;

    @Column(columnDefinition = "int(3)  DEFAULT 0  COMMENT '今日动态状态：0未发布，1已发布' ")
    private Integer dynamicState;


}